package ModelLayer;



import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * The test class ModelLayerTest.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class ModelLayerTest
{
    private ModelLayer.DVDContainer dVDConta1;
    private ModelLayer.DVD dVD1;
    private ModelLayer.Copy copy1;
    private ModelLayer.Person person1;
    private ModelLayer.PersonContainer personCo1;
    private ModelLayer.Loan loan1;
    private ModelLayer.LoanContainer loanCont1;

    /**
     * Default constructor for test class ModelLayerTest
     */
    public ModelLayerTest()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    @Before
    public void setUp()
    {
        ModelLayer.DVDContainer.getInstance();
        dVDConta1 = new ModelLayer.DVDContainer();
        dVD1 = new ModelLayer.DVD(10, "Hell", "Rambo", "10-10-10");
        copy1 = new ModelLayer.Copy("10", "10-10-2014", "10");
        person1 = new ModelLayer.Person(10, "Denis", "Ravnkildevej", 9220, "Aalborg", "123415");
        personCo1 = new ModelLayer.PersonContainer();
        loan1 = new ModelLayer.Loan(10, "10-11-2014", "10", person1, copy1);
        loanCont1 = new ModelLayer.LoanContainer();
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    @After
    public void tearDown()
    {
    }
}
